package com.kingsoft.miot.bridge.controller.resp;

import java.util.HashMap;
import java.util.List;

import org.apache.shiro.crypto.hash.Hash;

import com.kingsoft.miot.bridge.pojo.CorporationInfo;

/**
 * 分页信息(通用)
 * 
 * @author melody
 *
 * @param <T>
 */
public class PageResult<T> {

	// 总页数
	protected int total_pages;
	// 总记录数
	protected int total_count;
	// 当前页
	protected int current_page;
	// 每页大小
	protected int size;
	// 当前页数据大小
	protected List<T> item_list;
	// 集团信息
	private HashMap<String,Object> corporation_info;

	public HashMap<String, Object> getCorporation_info() {
		return corporation_info;
	}

	public void setCorporation_info(HashMap<String, Object> corporation_info) {
		this.corporation_info = corporation_info;
	}

	public int getTotal_pages() {
		return total_pages;
	}

	public void setTotal_pages(int total_pages) {
		this.total_pages = total_pages;
	}

	public int getTotal_count() {
		return total_count;
	}

	public void setTotal_count(int total_count) {
		this.total_count = total_count;
	}

	public int getCurrent_page() {
		return current_page;
	}

	public void setCurrent_page(int current_page) {
		this.current_page = current_page;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public List<T> getItem_list() {
		return item_list;
	}

	public void setItem_list(List<T> item_list) {
		this.item_list = item_list;
	}

}
